import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

import axios from 'axios'
Vue.prototype.$axios = axios

import Vant from 'vant';
import 'vant/lib/index.css';
Vue.use(Vant);

//引入Element-UI 
// import ElementUI from 'element-ui';
// import 'element-ui/lib/theme-chalk/index.css';
// Vue.use(ElementUI);

// 插件形式
import API from './utils/network/index';
Vue.use(API);
// loading
import Loading from './components/loading/index';
Vue.use(Loading);
// popup
import Popup from './components/popup/index';
Vue.use(Popup);
// 消息
import Message from './components/message/index';
Vue.use(Message);
// rem.js
import Size from './utils/config/size';
Vue.use(Size);

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
